package com.wowangz.cms.jpush.pojo;

import com.wowangz.cms.common.utils.SysConstant;
import com.wowangz.cms.syscore.autotask.pojo.MQQueueData;
import com.wowangz.cms.syscore.pojo.BaseEntity;

/**
 * 消息推送
 * 
 * @author HUANGYUAN
 *
 */
@SuppressWarnings("serial")
public class Jpush extends BaseEntity {

	private String title;// 通知标题
	private String content;// 通知内容
	private Long allperson;// 广播所有人：0 所有人，1 自定义
	private Long sendtime;// 发送时间：0立即发送 1 定时发送
	private String alias;// 设备别名
	private String username;//用户名称
	private Long savetime;// 离线消息保留时长
	private Long savetimesecond;// 自定义保持时长
	private Long userid; // 推送人
	private Long storeid;//商户ID
	private String pushname;//推送人
	
	private String isSingle; // 是否针对单个人发送 1 否 2 是
	private String storename;//商户名称
	private String createtime;//创建时间
	
	private MQQueueData data;
	private Long resources = SysConstant.SystemResource.DEFAULTTIME;// 默认平台  1  运营平台 2 商户端
	
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	
	public String getPushname() {
		return pushname;
	}
	
	public void setPushname(String pushname) {
		this.pushname = pushname;
	}
	
	public MQQueueData getData() {
		return data;
	}
	
	public void setData(MQQueueData data) {
		this.data = data;
	}
	
	public String getIsSingle() {
		return isSingle;
	}
	
	public void setIsSingle(String isSingle) {
		this.isSingle = isSingle;
	}
	
	public Long getResources() {
		return resources;
	}
	
	public void setResources(Long resources) {
		this.resources = resources;
	}
	
	public Long getStoreid() {
		return storeid;
	}

	public void setStoreid(Long storeid) {
		this.storeid = storeid;
	}

	public String getStorename() {
		return storename;
	}

	public void setStorename(String storename) {
		this.storename = storename;
	}

	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	
	public Long getSavetimesecond() {
		return savetimesecond;
	}
	
	public void setSavetimesecond(Long savetimesecond) {
		this.savetimesecond = savetimesecond;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getAllperson() {
		return allperson;
	}

	public void setAllperson(Long allperson) {
		this.allperson = allperson;
	}

	public Long getSendtime() {
		return sendtime;
	}
	
	public void setSendtime(Long sendtime) {
		this.sendtime = sendtime;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public Long getSavetime() {
		return savetime;
	}

	public void setSavetime(Long savetime) {
		this.savetime = savetime;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}
}
